package com.zte.claa.inficombo.csa.app.service.photo.bean;

import java.sql.Timestamp;
import java.util.Arrays;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

/*
 * Author by 0283000106 
 */
public class PhotoDataQryPara {
	private String photoid; 		//计划编号	VARCHAR(200)
	private String deveui; 		//日志ID	VARCHAR(200)	
	private String projectid; 		//	项目编号	VARCHAR(200)
	private int phototype;
	private Timestamp begintime;    //	开始时间	Timestamp		
	private Timestamp endtime;      //	开始时间	Timestamp
	private int offset = 0;
	private int batch = 5000;
	// 分页查询页号，从0开始...
	private int start = 0;
	
	public PhotoDataQryPara(){
		
	}

	public String getProjectid() {
		return projectid;
	}

	public void setProjectid(String projectid) {
		this.projectid = projectid;
	}

	public Timestamp getBegintime() {
		return begintime;
	}

	public void setBegintime(Timestamp begintime) {
		this.begintime = begintime;
	}

	public Timestamp getEndtime() {
		return endtime;
	}

	public void setEndtime(Timestamp endtime) {
		this.endtime = endtime;
	}

	public int getOffset() {
		return offset;
	}

	public void setOffset(int offset) {
		this.offset = offset;
	}

	public int getBatch() {
		return batch;
	}

	public void setBatch(int batch) {
		this.batch = batch;
		this.offset = this.batch * this.start;
	}

	public int getStart() {
		return start;
	}

	public void setStart(int start) {
		this.start = start;
		this.offset = this.batch * this.start;
	}

	public String getPhotoid() {
		return photoid;
	}

	public void setPhotoid(String photoid) {
		this.photoid = photoid;
	}

	public String getDeveui() {
		return deveui;
	}

	public void setDeveui(String deveui) {
		this.deveui = deveui;
	}

	public int getPhototype() {
		return phototype;
	}

	public void setPhototype(int phototype) {
		this.phototype = phototype;
	}
	
}
